home *** CD-ROM | disk | FTP | other *** search
/ Cream of the Crop 26 / Cream of the Crop 26.iso / program / smixw130.zip / DETECT.H < prev    next >
Text File  |  1997-06-06  |  998b  |  21 lines

  1. /*      SMIXW is Copyright 1995 by Ethan Brodsky.  All rights reserved      */
  2.  
  3. /* ██ DETECT.H ████████████████████████████████████████████████████████████ */
  4.  
  5. #define TRUE 1
  6. #define FALSE 0
  7.  
  8. int detect_settings(int *baseio, int *irq, int *dma, int *dma16);
  9.   /* Detects sound card settings using BLASTER environment variable */
  10.   /* Parameters:                                                    */
  11.   /*   baseio    Sound card base IO address                         */
  12.   /*   irq       Sound card IRQ                                     */
  13.   /*   dma       Sound card 8-bit DMA channel                       */
  14.   /*   dma16     Sound card 16-bit DMA channel (0 if none)          */
  15.   /* Returns:                                                       */
  16.   /*   TRUE      Sound card settings detected successfully          */
  17.   /*   FALSE     Sound card settings could not be detected          */
  18.  
  19. /* ████████████████████████████████████████████████████████████████████████ */
  20.  
  21.